package com.ruoyi.project.poem.stat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 诗词PK统计对象 pk_stat
 * 
 * @author shixiangwen
 * @date 2020-02-03
 */
public class PkStat extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** null */
	private Long id;

	/** 日期 */
	@Excel(name = "日期")
	private String date;

	/** 参与人数 */
	@Excel(name = "参与人数")
	private Long userCount;

	/** 对战次数 */
	@Excel(name = "对战次数")
	private Long pkCount;

	/** 正常完成 */
	@Excel(name = "正常完成")
	private Long finishCount;

	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date createdTime;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getDate() {
		return date;
	}

	public void setUserCount(Long userCount) {
		this.userCount = userCount;
	}

	public Long getUserCount() {
		return userCount;
	}

	public void setPkCount(Long pkCount) {
		this.pkCount = pkCount;
	}

	public Long getPkCount() {
		return pkCount;
	}

	public void setFinishCount(Long finishCount) {
		this.finishCount = finishCount;
	}

	public Long getFinishCount() {
		return finishCount;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("date", getDate()).append("userCount", getUserCount()).append("pkCount", getPkCount())
				.append("finishCount", getFinishCount()).append("createdTime", getCreatedTime()).toString();
	}
}
